from django.conf.urls import url
from django.urls import path

from . import views

urlpatterns = [
    # path('', views.index, name='index'),
    path('', views.indexShow),
    path('index/', views.indexShowLater),
    path('login/', views.loginView),
    path('logingoto/', views.loginViewSubmit),
    path('register/', views.registerView),
    path('registergoto/', views.registerViewSubmit),
    path('userInfo/', views.userInfoShow),
    path('delete/', views.deleteGoods),
    path('registerSuccessful/', views.registerSuccessful),
    path('top/', views.maintop),
    path('left/', views.mainleft),
    path('onShelf/', views.addGoods),
    path('search/', views.search),
    path('select/', views.selectGoods),
    path('insert/', views.addGoods),
    path('downShelf/', views.deleteGoods),
    path('clothes/', views.clothes),
    path('book/', views.book),
    path('electronic/', views.electronic),
    path('other/', views.other),
    path('editPassword/',views.editView),
    path('editgoto/',views.editViewSubmit),
    path('editSuccessful/',views.editSuccessful),
    path('logout/',views.logoutView)
]
